import {get, post } from "@/utils/request";

// 分页所有评论信息
export function pageQuery(data) {
    return get('/comment/pageQuery', data)
}
// 批量删除评论
export function batchDelete(data) {
    return post('/comment/batchDelete', data)
}

//根据id删除评论
export function deleteById(data) {
    return get('/comment/deleteById', data)
}
//审核评论
export function check(data) {
    return get('/comment/check', data)
}

//保存或更新评论
export function saveOrUpdate(data) {
    return get('/comment/saveOrUpdate', data)
}